package com.sc.entity;

import java.io.Serializable;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2024-06-06 08:40:01
 */
public class Product implements Serializable {
    private static final long serialVersionUID = -42000099290852608L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 名字
     */
    private String name;
    /**
     * 分类id
     */
    private Integer categoryId;
    /**
     * 价格
     */
    private Double price;
    /**
     * 数量
     */
    private Integer amount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

}

